package com.tt.job.schedule;

import java.io.Serializable;
import java.util.Map;

/**
 * 可回滚操作
 */
public class RollbackOperator implements Serializable {
    private String id;
    private Map<String, String> params;
    private String type;

    public String getId() {
        return id;
    }

    /**
     * 操作主体记录的Id
     *
     * @param id
     */
    public void setId(String id) {
        this.id = id;
    }

    public Map<String, String> getParams() {
        return params;
    }

    /**
     * 操作的其他参数
     *
     * @param params
     */
    public void setParams(Map<String, String> params) {
        this.params = params;
    }

    public String getType() {
        return type;
    }

    /**
     * 操作类型
     *
     * @param type
     */
    public void setType(String type) {
        this.type = type;
    }
}
